package com.xrh.xdemo.api.request.addRequest;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class RoleVsMenuAddRequest{

    /**角色id */
	@ApiModelProperty("角色id")
	@NotNull(message = "角色id不能为空")
	private Long sysRoleId;

	/**菜单id */
	@ApiModelProperty("菜单id")
	@NotNull(message = "菜单id不能为空")
	private Long menuId;

}
